long nStoryID;
Internal PageMaker identifier for story
long nBegin;
Starting location for text selection in characters from the beginning of the story (0 indicates that the insertion point is positioned immediately before the first character in the story)
long nEnd;
Ending location of text selection in characters from the beginning of the storyNo text selected. If no text is selected (but the text contains an insertion point), then nBegin and nEnd are the same. However, if the story is empty, nStoryID, nBegin, and nEnd are null. PageMaker does not recognize a story unless it contains at least one character.
Selection direction is irrelevant. The direction in which the cursor was dragged to select text is irrelevant. The value of nBegin is always smaller than or equal to nEnd.
Non-printing characters included. The values for nBegin and nEnd include inline graphics and non-printing characters (such as index markers, tabs, and returns).
Comments or suggestions? Contact Adobe Developer Support